home *** CD-ROM | disk | FTP | other *** search
/ C/C++ Users Group Library 1996 July / C-C++ Users Group Library July 1996.iso / vol_100 / 163_02 / sgtty.h < prev    next >
Text File  |  1987-06-01  |  640b  |  22 lines

  1. /*
  2. ** include sgtty.h
  3. **
  4. ** data structure for _ioctl()
  5. */
  6.  
  7. /*
  8. ** sgttyb structure
  9. */
  10. #define SG_SIZE        6
  11. #define SG_ISPEED      0       /* input speed */
  12. #define SG_OSPEED      1       /* output speed */
  13. #define SG_ERASE       2       /* character erase character */
  14. #define SG_KILL        3       /* line kill character */
  15. #define SG_FLGS        4       /* control flags (two bytes) */
  16.  
  17. /*
  18. ** _ioctl() request codes
  19. */
  20. #define TIOCGETP       0       /* materialize sgttyb structure */
  21. #define TIOCSETP       1       /* modify sgttyb structure */
  22.